package com.pinyougou.sellergoods.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.pinyougou.mapper.TbSellerMapper;
import com.pinyougou.pojo.TbSeller;
import com.pinyougou.sellergoods.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class ShopServiceImpl implements ShopService {
    @Autowired
    private TbSellerMapper sellerMapper;
    @Override
    public int add(TbSeller seller) {
        seller.setStatus("0");
        return sellerMapper.insertSelective(seller);
    }
}
